package lazy_save_service

import (
	"sen-golang-study/go_game_study/hero_story_go_server/common/log"
)

func Cancel(saver LazySaver) {
	if saver == nil {
		return
	}

	log.Info("放弃延迟保存，LazySaver Id= %+v", saver.GetId())

	lazySaveRecordMap.Delete(saver.GetId())
}
